package main

import (
	"gitee.com/tjccc/gomq/mq/server"
	"gitee.com/tjccc/gomq/tcp"
)

func main() {
	config := &tcp.Config{
		Address: "0.0.0.0:8965",
	}
	err := tcp.ListenAndServeWithSignal(config, server.MakeHandler())
	if err != nil {
		return
	}
}
